package com.antdesignbackend.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_returnform")
public class Returnform {
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;
    /**
     用户Id
     */
    @TableField("UserId")
    private Integer userId;
    /**
     活动Id
     */
    @TableField("EventId")
    private Integer eventId;
    /**
     返还金额
     */
    @TableField("ReturnAmount")
    private Double returnAmount;
    /**
     返还时间
     */
    @TableField("ReturnTime")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date returnTime;
    /**
     操作人
     */
    @TableField("Operator")
    private String Operator;
}
